#include"list.h"

void test1()
{
	ListNode* list = InitList();

	for (int i = 1; i <= 3; i++)
		LTPushBack(list, i);
	PrintList(list);

	LTPopBack(list);
	PrintList(list);
	LTPopBack(list);
	PrintList(list);
	LTPopBack(list);
	PrintList(list);
	LTPopBack(list);
	PrintList(list);

	for (int i = 1; i <= 2; i++)
		LTPushBack(list, i);
	PrintList(list);
}
void test2()
{
	ListNode* list = InitList();
	for (int i = 1; i <= 3; i++)
		LTPushFront(list, i);
	PrintList(list);

	LTPopBack(list);
	PrintList(list);

	for (int i = 1; i <= 3; i++)
		LTPushBack(list, i);
	PrintList(list);

	LTPopBack(list);
	PrintList(list);
}
void test3()
{
	ListNode* list = InitList();

	for (int i = 1; i <= 3; i++)
		LTPushBack(list, i);
	PrintList(list);



}
int main()
{
	test3();

	return 0;
}